package com.thinkgsp.jxc.service;

import com.thinkgsp.sys.model.SysAccountPeriod;

/**
 * 期末结转
 * @author evan
 *
 */
public interface PeriodEndForwardService {

	/**
	 * 获取当前期间
	 * @return
	 */
	public SysAccountPeriod getCurrentPeriod();
	
	
	public SysAccountPeriod getPeriod(int year,int period);
	/**
	 * 获取下一期间
	 * @return
	 */
	public SysAccountPeriod getNextPeriod();
	
	/**
	 * 期末结转
	 * @param curPeriod
	 * @param nextPeriod
	 */
	public void periodEndForward(SysAccountPeriod curPeriod,SysAccountPeriod nextPeriod);
	
	/**
	 * 反结转
	 * @param curPeriod
	 */
	public void periodEndUnForward(SysAccountPeriod curPeriod);
}
